<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link href="../css/Untitled-2.css" rel="stylesheet" type="text/css" />

</head>
<body class="a">
	<center>
		<br>
		<h3>个人信息</h3>
		<br>
		<hr />
		<br>
		<table width="904" height="255" rules="all">
			<tr>
				<td>员工ID</td>
				<td><s:property value="staff.staffId" />
				</td>
				<td>身份证号</td>
				<td><s:property value="staff.idNumber" />
				</td>
				<td>上级ID</td>
				<td><s:property value="staff.managerId"/>
				</td>
			</tr>

			<tr>
				<td>名字</td>
				<td><s:property value="staff.lastName" />
					<s:property value="staff.firstName" />
				</td>
				<td>电话</td>
				<td><s:property value="staff.staffTel" />
				</td>
				<td>员工生日</td>
				<td><s:property value="staff.birthday" />
				</td>
			</tr>
			<tr>
				<td>性别</td>
				<td><s:property value="staff.sex"/>
				</td>
				<td>入职日期</td>
				<td><s:property value="staff.employeeDate" />
				</td>
				<td>邮箱</td>
				<td><s:property value="staff.email" />
				</td>
			</tr>
			<tr>
				<td>政治面貌</td>
				<td><s:property value="staff.politicsState" /></td>
				<td>家庭地址</td>
				<td><s:property value="staff.address" /></td>
				<td>职称</td>
				<td><s:property value="staff.professionalTitle"/></td>
			</tr>
			<tr>
				<td>教育程度</td>
				<td><s:property value="staff.education"/></td>
				<td>职位编号</td>
				<td><s:property value="staff.position.positionName" /></td>
				<td>婚否</td>
				<td><s:property value="staff.marriage" /></td>
			</tr>

			<!-- 从数据库里查出数据， 用的是staff表 -->
		</table>
	</center>
</body>
</html>
